CallCountProc
TheCallCountProc
method counts the number of elements of the specified type in the specified container.
void CallCountProc (in ODPart thePart, in ODDescType desiredType, in ODDescType containerClass, in ODOSLToken container, out ODSLong result);
thePart
- A reference to a part associated with this semantic interface object.
desiredType
- The type of object to be counted.
containerClass
- The object class of the container for the desired objects.
container
- A reference to an OpenDoc token for the container.
result
- The number of objects of the desired type in the container.
DISCUSSION
This method counts the elements in the container whose type matches thedesiredType
parameter and returns that number in theresult
parameter.EXCEPTIONS
The Apple Event Manager may throw an exception if this method is unable to count the specified type of object.This method may throw platform-specific exceptions.
SEE ALSO
TheODDescType
type (page 925).
TheODOSLToken
class (page 456).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help